import http from '@/utils/request';
export default {
	getTaskList: (params) => {//任务列表
		return http.get('/wx/v1/taskInfo/page', {
			params
		})
	},
	getTaskStatistics:(params)=>{ // 任务统计
		return http.get("/wx/v1/taskRecord/statisticsRecord",{params})
	},
	setWorkState:(data)=>{
		return http.put("/wx/v1/waiter/setWorkState",data)
	},
	taskOperate:(data)=>{
		return http.put("/wx/v1/taskInfo/taskOperate",data)
	}
}
